// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
$(document).ready(function(){
    var d1 = document.getElementById("show_sidebar_box");
    d1.onmouseover = function(){
	if (event.toElement && !this.contains(event.fromElement)) { 
            $j('#sidebar_box').delay(200).stop(true,true).slideDown('fast')
	}  
    }
    d1.onmouseout = function(){
	if (event.fromElement && !this.contains(event.toElement)) { 
            
            $j('#sidebar_box').delay(200).stop(true,true).slideUp('fast')
	}  
    }
    $('#markdown').markItUp(mySettings);
})